package com.omkarpatil.learningjpa2.util;

import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;

public class EntityManagerFactoryFactory {
	
	private static EntityManagerFactory entityManagerFactory = Persistence.createEntityManagerFactory("learningjpa2");

	public static EntityManagerFactory getEntityManagerFactory() {
		return entityManagerFactory;
	}
}
